package com.zmht.beike.biz;

import java.util.List;

import com.zmht.beike.core.BaseBiz;
import com.zmht.beike.po.TCmonthcontent;

public interface CMonthContentBiz extends BaseBiz {
	/**
	 * 获得当前月份的主题内容信息
	 * @param sessionId
	 * @param teacherId
	 * @param startIndex
	 * @param pageSize
	 * @return
	 */
	public List findCmonthContent(String sessionId,Integer teacherId,int month,int startIndex,int pageSize);
	/**
	 * 获得月份主题内容信息记录数
	 * @param sessionId
	 * @param teacherId
	 * @param startIndex
	 * @param pageSize
	 * @return
	 */
	public int findCmonthContentTotal(String sessionId,Integer teacherId,int month,int startIndex,int pageSize);
	/**
	 * 删除记录
	 * @param monthContent
	 * @return
	 */
	public boolean delCmontContent(java.io.Serializable id);
	/**
	 * 保存记录
	 * @param monthContent
	 * @return
	 */
	public boolean saveCmontContent(TCmonthcontent monthContent);
	/**
	 * 更新月主题内容记录表（当添加月主题 时更新记录）
	 * @param monthContent
	 * @return
	 */
	public boolean updateCmontContent(TCmonthcontent monthContent);
	/**
	 * 获得id
	 * @param id
	 * @return
	 */
	public TCmonthcontent findById(java.io.Serializable id);
	
	public List<TCmonthcontent> findCmonthContentEdit(Integer targetId,Integer teacherId,Integer areaId,int month,int startIndex,int pageSize);
	/**
	 * 根据目标和月份 获得内容
	 * @param targetId
	 * @param teacherId
	 * @param month
	 * @param startIndex
	 * @param pageSize
	 * @return
	 */
	public int findCmonthContentEditTotal(Integer targetId,Integer teacherId,Integer areaId,int month);
	//public boolean findNoBandingMonthcontent(String sessionId,Integer teacherId);
	
}
